package com.easyOrder.core.push;

import java.util.ArrayList;
import java.util.List;

public class Notification {
	private String subjectId;

	private String title;

	private String content;

	private List<Recipient> recipients;

	public String getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(String subjectId) {
		this.subjectId = subjectId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public List<Recipient> getRecipients() {
		if (recipients == null) {
			recipients = new ArrayList<Recipient>();
		}
		return recipients;
	}

	public void setRecipients(List<Recipient> recipients) {
		this.recipients = recipients;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Notification [subjectId=" + subjectId + ", title=" + title
				+ ", content=" + content + ", recipients=" + recipients + "]";
	}
}
